import { request } from "@/utils";

export const apiGetToken = (params) => {
  return request({
    url: "/authorizations",
    data: params,
    method: "post",
  });
};

export const apigetUserInfo = () => {
  return request({
    url: "/user/profile",
    method: "get",
  });
};
